Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use default profile and switch country-specific profiles into a feature flag #39

Merged
merged 114 commits into from
Aug 15, 2024

Conversation

melbeltagy
Copy link
Contributor

@melbeltagy melbeltagy commented Jul 30, 2024

Changes:

  • Splitting each module's code into org.niis.* and fi.dvv.* packages for common and Finland-specific features respectively.
  • Switch application.properties into yaml format for:
    • Clarity in properties structure
    • Better support with docker/k8s based environments and usage.
  • Switching from fi profile to the new xroad-catalog.country.fi.enabled feature flag for both collector and lister modules
  • Loading Finland-specific features based on the new xroad-catalog.country.fi.enabled feature flag.
  • Using application.yaml as a common/base configuration file with all default configurations
  • Using dev profile configuration for local development (to run service from IDE)
  • Using test profile configuration for tests only
  • Removing sshtest profile but keeping/updating the documentation
  • Adding application-fi.sample.yaml and application-production.sample.yaml sample profiles
  • Using persistence module only for entities and repositories by:
    • Splitting services from persistence module into either collector or lister modules
    • Persistence module no longer can run as an application
    • Persistence module no longer can be used to apply database changes as liquibase is already configured
  • Grouping properties into different logical groups
  • Removing unused properties
  • Adding new configuration section in each module's README.md with all configurations related to the the module

Refs: XRDCAT-8

…splitting into common/fi packages)

Refs: XRDCAT-8
…lector service) based on usage

Refs: XRDCAT-8
…plication configs to scan components in both packages

Refs: XRDCAT-8
…y broken ones, add application.properties

Refs: XRDCAT-8
Refs: XRDCAT-8
Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

BUILD.md Outdated Show resolved Hide resolved
Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

Copy link
Contributor

@raits raits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more small things I noticed, but looking pretty good otherwise.

BUILD.md Outdated Show resolved Hide resolved
doc/xroad_catalog_installation_guide.md Show resolved Hide resolved
doc/xroad_catalog_installation_guide.md Outdated Show resolved Hide resolved
xroad-catalog-collector/README.md Outdated Show resolved Hide resolved
xroad-catalog-collector/README.md Outdated Show resolved Hide resolved
xroad-catalog-lister/README.md Outdated Show resolved Hide resolved
Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

@melbeltagy
Copy link
Contributor Author

@raits , the configurations section in both READMEs for collector and lister services are updated as per your comments (moving reasonably defaulted values to proper optional sections).

And the configurations section in the installation guide is now updated by:

  • Splitting collector from lister service
  • Reference READMEs configurations sections (instead of repeating the configurations parameters list)
  • Added specific instructions for how to enable Finland-specific features (in both services)

And also, added ToC for READMEs and installation guide to help clarifying how the documents are structured

Copy link
Contributor

@raits raits left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just a minor comment about the list styles for the new ToC-s.

xroad-catalog-collector/README.md Outdated Show resolved Hide resolved
xroad-catalog-lister/README.md Outdated Show resolved Hide resolved
Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

Copy link

sonarcloud bot commented Aug 15, 2024

Copy link

Job Summary for Gradle

X-Road-Catalog tests :: BuildAndTest
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-catalog build test 8.7 Build Scan not published

@melbeltagy melbeltagy merged commit 86ad5bf into develop Aug 15, 2024
3 checks passed
@melbeltagy melbeltagy deleted the XRDCAT-8-clearer-profiles branch August 15, 2024 09:32
@melbeltagy melbeltagy restored the XRDCAT-8-clearer-profiles branch August 15, 2024 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants